//聊天对象类型
export interface SenderInfoType {
    senderId: string,
    senderName: string,
	senderImg:string,
}
//redis 存储消息对象
export interface ChatItemRedisType {
	fromUserId:string,
	text:string,
	dateTime:string
}
//消息内容
export interface ChatInfoType {
	// 0 自己 1 接收者
    sendUser: number,
    sendMessage: string,
}

export class InitSender implements SenderInfoType {
	senderId='';
	senderImg='';
	senderName='';
}

export class InitChatInfo implements ChatInfoType {
	sendUser=0;
	sendMessage='';
}
//初始化 聊天列表信息
export class InitChatListInfo {
	senderInfo:InitSender={
		senderId:'',
		senderName:'',
		senderImg:'',
	};
	//发送时间
	sendTime='';
	//未接收消息数
	sendNum='';
}